# -*- coding: utf-8 -*-
"""
@Time    : 2021/10/9 18:09
@Author  : Leibuyun
@File    : 2.15 字符串中插入变量.py
"""

if __name__ == '__main__':
    s = '{name} has {n} message'
    # 使用format()函数
    s.format(name='Guido', n=37)
